<?
require("config.php");

$location_status .= "| List";
$show_backnav = "newsletter_menu";
$menuname = NULL;
$menutarget = NULL;

$Query = "SELECT 
code,
date,
subject 
FROM $table";

$r=myQuery($Query);

require($rela_path . "inc/header.php");

?>
<table width="95%" border="0" align="center">
  <tr>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top">      <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tb">
        <tr class="tbheader"> <td>Code</td>
          <td>Date</td>
          <td>Heading</td>
        </tr>


<?for ($i=0;$i<count($r);$i++){?>
        <tr class="tbcontent"> 
          <td><?print($r[$i][0])?></td>
          <td><?print($r[$i][1])?></td>
          <td><?print($r[$i][2])?></td>
        </tr>
<?}?>




      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
  </tr>
</table>
<br>
<br>
<br>
<?
require($rela_path . "inc/footer.php");
?>
